package com.smart.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smart.dao.RoleDao;
import com.smart.domain.Role;
import com.smart.service.RoleService;

@Service
public class RoleServiceImpl  implements RoleService{
	
	@Autowired
	RoleDao roleDao;

	@Override
	public List<Role> queryRole() throws Exception {
		Map<String, Object> conditions = new HashMap<String, Object>();
		return roleDao.queryRole(conditions);
	}

}
